<?php include_tinymce() ?>

<h2><?= anchor('admin/contents', 'Pages du site') ?> Nouvelle page</h2>

<?= form_open('admin/contents/create', 'class="stylized"') ?>
	<table>
		<tr>
			<td>Titre</td>
			<td><?= form_input('title', $content->title) ?></td>
		</tr>
		<tr>
			<td>En ligne</td>
			<td><?= form_checkbox('online', 1, $content->online) ?></td>
		</tr>
	</table>
	<p><?= form_textarea('body', $content->body) ?></p>
	<div class="button-box">
		<?= button_submit('Créer') ?>
		<?= button_cancel('admin/contents') ?>
	</div>
</form>
